home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / perlfaq.z / perlfaq
Text File  |  1998-10-30  |  9KB  |  265 lines

  1.  
  2.  
  3.  
  4. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      perlfaq - frequently asked questions about Perl ($Date: 1997/04/24
  10.      22:46:06 $)
  11.  
  12. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  13.      This document is structured into the following sections:
  14.  
  15.      perlfaq: Structural overview of the FAQ.
  16.           This document.
  17.  
  18.      the _p_e_r_l_f_a_q_1 manpage: General Questions About Perl
  19.           Very general, high-level information about Perl.
  20.  
  21.      the _p_e_r_l_f_a_q_2 manpage: Obtaining and Learning about Perl
  22.           Where to find source and documentation to Perl, support and
  23.           training, and related matters.
  24.  
  25.      the _p_e_r_l_f_a_q_3 manpage: Programming Tools
  26.           Programmer tools and programming support.
  27.  
  28.      the _p_e_r_l_f_a_q_4 manpage: Data Manipulation
  29.           Manipulating numbers, dates, strings, arrays, hashes, and
  30.           miscellaneous data issues.
  31.  
  32.      the _p_e_r_l_f_a_q_5 manpage: Files and Formats
  33.           I/O and the "f" issues: filehandles, flushing, formats and footers.
  34.  
  35.      the _p_e_r_l_f_a_q_6 manpage: Regexps
  36.           Pattern matching and regular expressions.
  37.  
  38.      the _p_e_r_l_f_a_q_7 manpage: General Perl Language Issues
  39.           General Perl language issues that don't clearly fit into any of the
  40.           other sections.
  41.  
  42.      the _p_e_r_l_f_a_q_8 manpage: System Interaction
  43.           Interprocess communication (IPC), control over the user-interface
  44.           (keyboard, screen and pointing devices).
  45.  
  46.      the _p_e_r_l_f_a_q_9 manpage: Networking
  47.           Networking, the Internet, and a few on the web.
  48.  
  49.      WWWWhhhheeeerrrreeee ttttoooo ggggeeeetttt tttthhhhiiiissss ddddooooccccuuuummmmeeeennnntttt
  50.  
  51.      This document is posted regularly to comp.lang.perl.announce and several
  52.      other related newsgroups.  It is available in a variety of formats from
  53.      CPAN in the /CPAN/doc/FAQs/FAQ/ directory, or on the web at
  54.      http://www.perl.com/perl/faq/ .
  55.  
  56.      HHHHoooowwww ttttoooo ccccoooonnnnttttrrrriiiibbbbuuuutttteeee ttttoooo tttthhhhiiiissss ddddooooccccuuuummmmeeeennnntttt
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  71.  
  72.  
  73.  
  74.      You may mail corrections, additions, and suggestions to perlfaq-
  75.      suggestions@perl.com .  Mail sent to the old perlfaq alias will merely
  76.      cause the FAQ to be sent to you.
  77.  
  78.      WWWWhhhhaaaatttt wwwwiiiillllllll hhhhaaaappppppppeeeennnn iiiiffff yyyyoooouuuu mmmmaaaaiiiillll yyyyoooouuuurrrr PPPPeeeerrrrllll pppprrrrooooggggrrrraaaammmmmmmmiiiinnnngggg pppprrrroooobbbblllleeeemmmmssss ttttoooo tttthhhheeee
  79.      aaaauuuutttthhhhoooorrrrssss
  80.  
  81.      Your questions will probably go unread, unless they're suggestions of new
  82.      questions to add to the FAQ, in which case they should have gone to the
  83.      perlfaq-suggestions@perl.com instead.
  84.  
  85.      You should have read section 2 of this faq.  There you would have learned
  86.      that comp.lang.perl.misc is the appropriate place to go for free advice.
  87.      If your question is really important and you require a prompt and correct
  88.      answer, you should hire a consultant.
  89.  
  90. CCCCrrrreeeeddddiiiittttssss
  91.      When I first began the Perl FAQ in the late 80s, I never realized it
  92.      would have grown to over a hundred pages, nor that Perl would ever become
  93.      so popular and widespread.  This document could not have been written
  94.      without the tremendous help provided by Larry Wall and the rest of the
  95.      Perl Porters.
  96.  
  97. AAAAuuuutttthhhhoooorrrr aaaannnndddd CCCCooooppppyyyyrrrriiiigggghhhhtttt IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
  98.      Copyright (c) 1997 Tom Christiansen and Nathan Torkington.  All rights
  99.      reserved.
  100.  
  101.      NNNNoooonnnnccccoooommmmmmmmeeeerrrrcccciiiiaaaallll RRRReeeepppprrrroooodddduuuuccccttttiiiioooonnnn
  102.  
  103.      Permission is granted to distribute this document, in part or in full,
  104.      via electronic means or printed copy providing that (1) that all credits
  105.      and copyright notices be retained, (2) that no charges beyond
  106.      reproduction be involved, and (3) that a reasonable attempt be made to
  107.      use the most current version available.
  108.  
  109.      Furthermore, you may include this document in any distribution of the
  110.      full Perl source or binaries, in its verbatim documentation, or on a
  111.      complete dump of the CPAN archive, providing that the three stipulations
  112.      given above continue to be met.
  113.  
  114.      CCCCoooommmmmmmmeeeerrrrcccciiiiaaaallll RRRReeeepppprrrroooodddduuuuccccttttiiiioooonnnn
  115.  
  116.      Requests for all other distribution rights, including the incorporation
  117.      in part or in full of this text or its code into commercial products such
  118.      as but not limited to books, magazine articles, or CD-ROMs, must be made
  119.      to perlfaq-legal@perl.com.  Any commercial use of any portion of this
  120.      document without prior written authorization by its authors will be
  121.      subject to appropriate action.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  137.  
  138.  
  139.  
  140.      DDDDiiiissssccccllllaaaaiiiimmmmeeeerrrr
  141.  
  142.      This information is offered in good faith and in the hope that it may be
  143.      of use, but is not guaranteed to be correct, up to date, or suitable for
  144.      any particular purpose whatsoever.  The authors accept no liability in
  145.      respect of this information or its use.
  146.  
  147. CCCChhhhaaaannnnggggeeeessss
  148.      24/April/97
  149.          Style and whitespace changes from Chip, new question on reading one
  150.          character at a time from a terminal using POSIX from Tom.
  151.  
  152.      23/April/97
  153.          Added http://www.oasis.leo.org/perl/ to the _p_e_r_l_f_a_q_2 manpage.  Style
  154.          fix to the _p_e_r_l_f_a_q_3 manpage.  Added floating point precision, fixed
  155.          complex number arithmetic, cross-references, caveat for Text::Wrap,
  156.          alternative answer for initial capitalizing, fixed incorrect regexp,
  157.          added example of Tie::IxHash to the _p_e_r_l_f_a_q_4 manpage.  Added example
  158.          of passing and storing filehandles, added commify to the _p_e_r_l_f_a_q_5
  159.          manpage.  Restored variable suicide, and added mass commenting to the
  160.          _p_e_r_l_f_a_q_7 manpage.  Added Net::Telnet, fixed backticks, added
  161.          reader/writer pair to telnet question, added FindBin, grouped module
  162.          questions together in the _p_e_r_l_f_a_q_8 manpage.  Expanded caveats for the
  163.          simple URL extractor, gave LWP example, added CGI security question,
  164.          expanded on the email address answer in the _p_e_r_l_f_a_q_9 manpage.
  165.  
  166.      25/March/97
  167.          Added more info to the binary distribution section of the _p_e_r_l_f_a_q_2
  168.          manpage.  Added Net::Telnet to the _p_e_r_l_f_a_q_6 manpage.  Fixed typos in
  169.          the _p_e_r_l_f_a_q_8 manpage.  Added mail sending example to the _p_e_r_l_f_a_q_9
  170.          manpage.  Added Merlyn's columns to the _p_e_r_l_f_a_q_2 manpage.
  171.  
  172.      18/March/97
  173.          Added the DATE to the NAME section, indicating which sections have
  174.          changed.
  175.  
  176.          Mentioned SIGPIPE and the _p_e_r_l_i_p_c manpage in the forking open answer
  177.          in the _p_e_r_l_f_a_q_8 manpage.
  178.  
  179.          Fixed description of a regular expression in the _p_e_r_l_f_a_q_4 manpage.
  180.  
  181.      17/March/97 Version
  182.          Various typos fixed throughout.
  183.  
  184.          Added new question on Perl BNF on the _p_e_r_l_f_a_q_7 manpage.
  185.  
  186.      Initial Release: 11/March/97
  187.          This is the initial release of version 3 of the FAQ; consequently
  188.          there have been no changes since its initial release.
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.                                                                         PPPPaaaaggggeeee 4444
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.